package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.TravelContent;
import java.util.List;

public interface TravelContentMapper {
    int insert(TravelContent record);

    List<TravelContent> selectAll();

    void updateById(TravelContent travelContent);

    /**
     * 根据id来获取文章
     *
     * @param id
     * @return
     */
    TravelContent selectByAuthorId(Long id);
}